package com.cizzy.video.entity.dao;

import cn.hutool.core.util.RandomUtil;
import com.baomidou.mybatisplus.annotation.TableId;
//import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * <p>
 *
 * </p>
 *
 * @author crissy-月下闲人
 * @since 2023-10-29
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
//@ApiModel(value = "User对象", description = "")
public class UserDAO implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("user_id")
    private Long userId;

    private String username;

    private String password;

    private Timestamp createAt;

    private String token;

    private String avatar;

    private String signature;

    private String nickname = RandomUtil.randomString(7);
}
